fixed runInBgWithProgress

without fix lost ProgressDialog