void commandSelected(@NotNull QueueElementPanel elementPanel) {
    if (selectedCommand != null) {
      selectedCommand.getQueuePanel().setBackground(JBColor.lazy(UIUtil::getListBackground));
      selectedCommand.setTextColor();
      selectedCommand.setButtonColor();
    }
    selectedCommand = elementPanel;
    selectedCommand.selectPanel();
    setTextToEditor(Objects.requireNonNull(elementPanel.getText()));
    mySplitter.setSecondComponent(myQueueEditor.getComponent());
  }
void commandSelected(@NotNull QueueElementPanel elementPanel)