Change ProgressDialog to ProgressBar (fixes crashes, however restart process on every rotation)