public void screenAlert(String alert) {
   if (!isDialogActivated()) return;
   AlertMessageTask errorConnection = new AlertMessageTask();
   errorConnection.setActivity(getActivity());
   errorConnection.execute(alert);
 }
 public static void screenAlert(String alert, Activity act) {
   AlertMessageTask errorConnection = new AlertMessageTask();
   errorConnection.setActivity(act);
   errorConnection.execute(alert);
 }