fixed bug where no categories are selected in user prefs