exchanged hardcoded un/selectallcategories