Saves history properly when revisited