Refactored DemoController::topMenuAction() to remove useless arguments