Finished operation checking, back() function to move to the main menu