Adding name String and SharedPreferences variables