Replaced spinner with ProgressDialog