removed ALayer
added a listener for the menu items