protected void finishModification() {
		try {
			courseModel.saveModelFile();
		} catch (IOException e) {
			JOptionPane.showMessageDialog(this,
					"Cannot save static data file:\n" + e);
		}
		try {
			courseModel.saveStatusFile();
		} catch (IOException e) {
			JOptionPane.showMessageDialog(this, "Cannot save status file:\n"
					+ e);
		}
		List<? extends SortKey> skeys = table.getRowSorter().getSortKeys();
		courseModel.fireModelReloaded();
		table.tableChanged(null);
		setColumnWidth();
		table.getRowSorter().setSortKeys(skeys);
	}