@Override
    public void setFragment(@NotNull String text) {
      synchronized (myFragments) {
        myFragments.get(myIndex).setText(text);
      }
    }
@Override
    public void setFragment(@NotNull String text)