Removed usage of getName() from menu builder

continued from #131