@@ -0,0 +1,1049 @@
+package org.zeropage.apps.zeropage.utility;%0A%0Aimport android.content.Context;%0Aimport android.content.SharedPreferences;%0Aimport android.preference.PreferenceManager;%0Aimport android.support.annotation.NonNull;%0Aimport android.support.annotation.Nullable;%0Aimport android.util.Log;%0A%0Apublic final class UserInfoPreferences %7B%0A    private static final String TAG = UserInfoPreferences.class.getSimpleName();%0A    private static final String KEY_NAME = %22name%22;%0A%0A    public static void putUserName(@NonNull Context context, @NonNull String userName) %7B%0A        Log.i(TAG, %22Save to Preferences. name = %22 + userName);%0A%0A        getPreferences(context).edit()%0A                .putString(KEY_NAME, userName)%0A                .apply();%0A    %7D%0A%0A    private static SharedPreferences getPreferences(Context context) %7B%0A        return PreferenceManager.getDefaultSharedPreferences(context.getApplicationContext());%0A    %7D%0A%0A    @Nullable%0A    public static String getUserName(@NonNull Context context) %7B%0A        return getPreferences(context).getString(KEY_NAME, null);%0A    %7D%0A%7D%0A

Add a new Preferences class for saving user information.