Fixed actionListener for menu items