Fixed broken history button