fixed initial null string written to program by shared prefs.