private void ItemSelected(object sender, SelectedItemChangedEventArgs e) { Debug.WriteLine("[m] [FriendsView] ItemSelected running"); if (e.SelectedItem == null) { return; } string friendName = e.SelectedItem as string; User friend = Friends.Find(X => X.Name == friendName); if (_mode == Mode.ChooseNew) { Conversation c = new Conversation(0, _user, friend); _localData.AddEmptyConversation(c); SetNewConversationRequest(friend, c); } else { OpenUserViewRequest(friend); } (sender as ListView).SelectedItem = null; }