private bool chooseSingleContact()
 {
     try
     {
         if (selectedClientGridRecord == null)
         {
             ClientDataGrid.SelectedItem = clientGridList.ElementAt(0);
         }
         selectedContact = ClientFunctions.GetContactByName(selectedClientGridRecord.ID, ContactLike.Text);
         return(selectedContact != null);
     }
     catch (Exception generalException)
     {
         MessageFunctions.Error("Error selecting the displayed contact name", generalException);
         return(false);
     }
 }