tableItem.setText(new String[] { track.getArtist(), track.getTitle(), track.getState(), String.valueOf(track.getNoOfTimesPlayed()), track.getLastPlayed().toString()
if(track.getRating() == 0) { updateTable(); } else { tableItem.setText(new String[] { track.getArtist(), track.getTitle(), track.getState(), String.valueOf(track.getNoOfTimesPlayed()), track.getLastPlayed().toString()
  private void updateTableItem(TableItem tableItem, Track track) {    tableItem.setText(new String[] {      track.getArtist(),      track.getTitle(),      track.getState(),      String.valueOf(track.getNoOfTimesPlayed()),      track.getLastPlayed().toString()    });  }