@Override
	public void actionPerformed(ActionEvent arg0) {
		JButton source = (JButton) arg0.getSource();
		
		if (source == deleteGame) {
			int games_num = list.getSelectedValuesList().size();
			if (games_num > 0 && showDialog("You are going to remove " + games_num + " games from SIB. Are you sure about that?"))
				deleteGame();
		}

		else if (source == init && showDialog("You are going to inject ontology into SIB. Are you sure about that?"))
			mainWindow.connector.init();
		else if (source == reset && showDialog("You are going to remove everything from SIB. Are you sure about that?")){
			mainWindow.connector.reset();
			games.clear();
			list.removeAll();
			listData.removeAllElements();
		}
		else if (source == clean && showDialog("You are going to remove every RPSLS data from SIB. Are you sure about that?")){
			mainWindow.connector.clean();
			games.clear();
			list.removeAll();
			listData.removeAllElements();
		}
	}