Update Menu State Settings

Enable or disable menus depending on the state of the program.