adding history button