@Override
    public synchronized void apply() throws ConfigurationException {
        if (configUI != null) {
            XPathAppComponent.getInstance().setConfig(configUI.getConfig());
        }
    }
@Override
    public synchronized void apply()