Displaying 'Querying...' message until query returns