MainActivity: Automatically save game state

save game state when activity paused, for next time to reinstance.