added reload of prefs