Added functions to disable and enable categories