Clean up the category view controller logic. Change the search delegate property to assign.