register prefs change listener