added stuff to change the text and picture of the buttons