Working on the button code