change the date and buttons