Adding View for Query Panel