Added menus handling and activity.