save_history(+Action) is det[private]
Save the history information according to action.