private boolean acceptableCellDistance(final Location current,final Location last){
  return (current.distanceTo(last) > Float.parseFloat(prefs.getString(Preferences.KEY_MIN_CELL_DISTANCE,Preferences.VAL_MIN_CELL_DISTANCE)) && (current.getTime() - last.getTime() > MIN_CELL_TIME_INTERVAL) || DEMO_MODE);
}

private boolean acceptableCellDistance ( final Location current , final Location last ) { return ( current . distanceTo ( last ) > Float . parseFloat ( prefs . getString ( Preferences . KEY_MIN_CELL_DISTANCE , Preferences . VAL_MIN_CELL_DISTANCE ) ) && ( current . getTime ( ) - last . getTime ( ) > MIN_CELL_TIME_INTERVAL ) || DEMO_MODE ) ; }
ensures that there is a minimum distance and minimum time delay between two cell updates . if in demo_mode this behaviour is overridden and cell updates are triggered as fast as possible
