Add validation to category save.