button code added

code for buttons