implemented app flow from level to main menu