Adds function call for main menu