crashes when loading game from shared prefs