Add/remove main menu action when switching between desktop/mobile mode