Adding loading indicators for the query request.