Category validation, toggle search