public void resetChanges(){
  changes.clear();
  changesCalculated=false;
  for (int i=0; i < 5; i++) {
    updateItem(i);
  }
}

public void resetChanges ( ) { changes . clear ( ) ; changesCalculated = false ; for ( int i = 0 ; i < 5 ; i ++ ) { updateItem ( i ) ; } }
reset all cached changes and update latest content .
