private void ChatPage_AvatarTapped(object sender, AppContactEventArgs e)
        {
            var parentFrame = (sender as Page).Parent as Frame;

            if (parentFrame.Name == "AppMainShellFrame")
            {
                AppFrame.Navigate(typeof(ProfilePage), e.AppContact);
            }
        }
 private void ContactsPage_SelectedAppContactChanged(object sender, AppContactEventArgs e)
 {
     AppFrame.Navigate(typeof(ChatPage), e.AppContact);
 }