Modified ProgressDialogHandler a little