sorting out active and non active main menu state