moved sharedPreferences write to OobActivity