Did
Debug.Write($"SelectedText {SelectedText}");
output right value? In addition, I didn't see where did you update the SelectedText value when the item is selected.