@Override
    public void setSelected(boolean selected) {
      UISettings.getInstance().setOpenInPreviewTabIfPossible(selected);
      if (selected) updateAutoscroll();
    }
@Override
    public void setSelected(boolean selected)