private void addToFavorites(){
  for (  String game : list.getSelectedValuesList()) {
    favorites.add(game);
  }
  saveFavorites();
  update();
}

private void addToFavorites ( ) { for ( String game : list . getSelectedValuesList ( ) ) { favorites . add ( game ) ; } saveFavorites ( ) ; update ( ) ; }
adds the currently selected games to the favorites .
