Added an end state for the menu