added buttons on history page