Added event methods for buttons