Added event handler for the toolbar buttons.