Keys are properly saved to level state
Merge pull request #2205 from niamu/key_persistence

Keys are properly saved to level state