Fixed game saving when application hard closed.