Implemented category editing