public void refresh() {
        listModel = new DefaultListModel<>();
        for(BusinessObject mortgage :mortgages.getBusinessObjects()) {
            if (!listModel.contains(mortgage)) {
                listModel.addElement(mortgage);
            }
        }
        mortgagesList.setModel(listModel);
        mortgagesList.revalidate();

        Account[] allAccounts = new Account[accounts.getBusinessObjects().size()];
        for(int i = 0; i < accounts.getBusinessObjects().size(); i++) {
            allAccounts[i] = accounts.getBusinessObjects().get(i);
        }
        intrestModel = new DefaultComboBoxModel<>(allAccounts);
        capitalModel = new DefaultComboBoxModel<>(allAccounts);
        comboCapital.setModel(capitalModel);
        comboIntrest.setModel(intrestModel);
        comboCapital.revalidate();
        comboIntrest.revalidate();
	}