Added validation for existing category while storing