public void updateButtons() {
    if (myIsAvailable) {
      removeButtons(false);
      if (myRestartButton != null) {
        myLayout.removeButtonComponent(myRestartButton);
        myRestartButton = null;
      }
      if (myAlignButton != null) {
        myLayout.removeButtonComponent(myAlignButton);
        myAlignButton = null;
      }
      myAfterUpdate = false;
      createButtons();
      if (myUpdateDescriptor != null) {
        setUpdateDescriptor(myUpdateDescriptor);
      }
      doUpdateEnabledState();
    }
  }
public void updateButtons()