Implemented category deletion