wait for prefs startup