Fixed some bugs about ProgressDialogFragment