[BUGFIX] Fix usage of getMenu after refactoring