replace SHARED_PREFS_NAME with getPackageName
remove useless class