Added method for setting a button's text
Attached callback to button click event handler