Added functionality to get all prefs for Config page