Add spinner while queries are executing