Added ability to deactivate a category