Fixed dynamic menu bug in main app layout.