private void moveToNextStatMessage(){
  secondCounter=0;
  statMessageIndex++;
  if (statMessageIndex == STATS_MESSAGES) {
    statMessageIndex=0;
  }
  int retries=0;
  while (!refreshStatsMessage(false) && retries < STATS_MESSAGES) {
    statMessageIndex++;
    if (statMessageIndex == STATS_MESSAGES) {
      statMessageIndex=0;
    }
    retries++;
  }
}

private void moveToNextStatMessage ( ) { secondCounter = 0 ; statMessageIndex ++ ; if ( statMessageIndex == STATS_MESSAGES ) { statMessageIndex = 0 ; } int retries = 0 ; while ( ! refreshStatsMessage ( false ) && retries < STATS_MESSAGES ) { statMessageIndex ++ ; if ( statMessageIndex == STATS_MESSAGES ) { statMessageIndex = 0 ; } retries ++ ; } }
moves to the next statistics message .
