private void changeLead() {
        Anstalld selAnst = (Anstalld) cbLead.getSelectedItem();
        if (selAnst.getAid() != -1) { //if not no predefined lead
            try {
                String query = "update spelprojekt set aid=" + selAnst.getAid() + " where sid=" + selectedSpelprojekt;
                DB.update(query);
            } catch (InfException e) {
                e.getMessage();
            }
        } else { //if no predefined lead, set to null
            try {
                String query = "update spelprojekt set aid=null where sid=" + selectedSpelprojekt;
                DB.update(query);
            } catch (InfException e) {
                e.getMessage();
            }
        }
    }