Updated to redisplay button values after switching back from the history view