Fix category add/delete