Progressbar added to Query, selection option added