Added listeners for menus