Change the history buttons to show which is selected