changed button

Changed the code for the button and got the button working fully.