New logic to avoid double selection of main menu item.