if (panel == null) {
panel = controlPanelProvider.get();
Properties props = new Properties();
props.setProperty("id", ControlPanel.ID);
serviceRegistrar.registerService(panel, CytoPanelComponent.class, props);
<BUG>if (firstTime) {
firstTime = false;</BUG>
controlPanelProvider.get().getCreateEmButton().doClick();
}
}

if (panel == null) {
panel = controlPanelProvider.get();
Properties props = new Properties();
props.setProperty("id", ControlPanel.ID);
serviceRegistrar.registerService(panel, CytoPanelComponent.class, props);
if (firstTime && emManager.getAllEnrichmentMaps().isEmpty()) {
firstTime = false;
controlPanelProvider.get().getCreateEmButton().doClick();
}
}
