Add a half-second delay to when the Expand Query button is pressed to when the query is filled in, to give the page time to transition to the saved queries screen