Added ProgressDialog to GalleryActivity