public boolean expandAcronymSync(final String acronym){
  if (mCallInProgress)   return false;
 else {
    mCallInProgress=true;
    if (mAsyncTask != null)     mAsyncTask.cancel(true);
    mAsyncTask=new GenericAsyncTask<>(this);
    mAsyncTask.execute(acronym);
    return true;
  }
}

public boolean expandAcronymSync ( final String acronym ) { if ( mCallInProgress ) return false ; else { mCallInProgress = true ; if ( mAsyncTask != null ) mAsyncTask . cancel ( true ) ; mAsyncTask = new GenericAsyncTask < > ( this ) ; mAsyncTask . execute ( acronym ) ; return true ; } }
initiate the acronym lookup when the user presses the " lookup acronym sync " button .
