private void dismissProgressDialog() {
   if (mProgressDialog != null) {
     mProgressDialog.dismiss();
     mProgressDialog = null;
   }
 }
 private void showProgressDialog() {
   if (mProgressDialog == null) {
     mProgressDialog = SimpleProgressDialog.newInstance();
     mProgressDialog.show(getFragmentManager(), "ProgressDialog");
   }
 }