Added a simple ProgressDialog instead of a progress bar