sharedPreferences usage added for store hero options.