Added validation for category picker