Made prefs not go to null