Add spinner for queries.