Added warning to category deletion