private void updateSelection(AtomicReference<FsItem> selection) {
    if (selection.get() != null) {
      myList.setSelection(List.of(selection.get()));
    }
    else {
      myList.clearSelection();
    }
  }
private void updateSelection(AtomicReference<FsItem> selection)