Added delegate protocol pattern for button event handling