Adding event handlers to menu item views