Executing the getDefaultSharedPreferences if name is null