Game menu

No, you need to save the state yourself and restore it when you load the menu again. You can use sys.save() and sys.load() to save and load a Lua table with settings.