If you want to show something and save its state , save a variable , stop show something , show something on start of layout once / first Run ) or whatever you...
If you want to save your game , in different ways most simple to advanced just download the file. All My tutorials here.