     if cells.isEmpty {
       let sortOrder = CNContactsUserDefaults.shared().sortOrder
       Facebook.getTaggableFriends(limit: .none) { (friend) in
-        self.cells.append(FriendCellInfo(fbid: friend.fbid,
-                                         name: friend.display_name,
-                                         picture: friend.picture_url))
-        var sorted = [String]()
+        self.cells.append(FriendCellInfo(from: friend))
 
         var key: String
         switch (sortOrder) {

          key = "#"
        }

        if let friends = self.sortedContacts[key] {
          sorted = friends
        }
        sorted.append(friend.fbid)
        self.sortedContacts[key] = sorted
        onMain {
          completion()
        }

  let fbid: String
  let name: String
  let picture: String

  init(from friend: Friend) {
    self.fbid = friend.fbid
    self.name = friend.display_name
    self.picture = friend.picture_url
  }
}

class FriendCell: ConfigurableTableViewCell {
