void (Object element) { if (element != null) { final SetupTask task = (SetupTask) element; ApplicationManager.getApplication().invokeLater(() -> runSetupTask(task.getName(), module), ModalityState.nonModal()); } }