@Override
 protected void onPreExecute() {
   super.onPreExecute();
   dialog.cancel();
 }