Added listener for menu items