Conditional main menu developed.