fix progressDialog can't be cancel.finished Main UI