Save/Load game state when the application is started/resumed