private void transferChanges() {
        //brand new group
        if (editingFilt == null) {
            editingFilt = new Group(manager.getUId(), "", 0, null);
            //original = (Group) editingFilt.clone();
        }

        if (groupList.getSelectedIndex() == 0) {
            editingFilt.setKey(null);
            editingFilt.setId(-1);
        }

        //there is a name to use
        if (groupNameBox.getText() != null
                && !groupNameBox.getText().equals("")) {

            editingFilt.updateName(groupNameBox.getText());
        }

        try {
            editingFilt.updateWeight(Integer.parseInt(groupWeightBox.getText()));
        } catch (Exception e) {
            //they didn't enter a number and java formated text field sucks
        }

    }