Implemented category edit and delete.