Preferences class made singleton.  OnSharedPreferenceChangeListener still to be implemented.