async private void FriendsControl_OnFriendItemSelected(object sender, FriendSelectedEventArgs e)
 {
     var friendId = e.Friend.VkId;
     MessagesList.SetFriendId(friendId);
     MessageInput.SetFriendId(friendId);
     var dialogMessagesService = new DialogMessagesService();
     MessagesList.Refresh();
     await Task.Run(() => ActionExecutor.RunScenario(dialogMessagesService.LoadFromVkByFriendId, friendId));
     await Task.Run(() => FriendsControl.UpdateMessagesCount(friendId));
     await Task.Run(() => dialogMessagesService.SaveToDB());
 }
 private void FriendItem_Selected(object sender, FriendSelectedEventArgs e)
 {
     if (FriendItemSelected != null)
         FriendItemSelected(sender, e);
 }