Added shared preferences to restore AF game