removed SharedPreferenceType enum class