Initial implementation for SelectedItem on #278