data stored in MainActivity rather than prefs and a brutal bug caught in which rootView equaled null