State before adding advanced search