I am having some of the following exceptions:
java.lang.IllegalArgumentException: View not attached to window manager at android.view.WindowManagerImpl.findV
Or Simply you Can add
protected void onPreExecute() { mDialog = ProgressDialog.show(mContext, "", "Saving changes...", true, false); }
which will make the ProgressDialog to not cancel-able
ProgressDialog