Add button event handler