Close the search activity when a query is started.