                     dispatch_async(dispatch_get_main_queue(), { () -> Void in
                         sender.selected = true
 //                        self.connectButton.setTitle("Pending", forState: .Selected)
+                        self.friendUserCustomizeButton()
                     })
                 } else if error != nil{
                     print("Error happened\n")

    @IBOutlet weak var userAboutLabel: UILabel!
    @IBOutlet weak var userImageView: UIImageView!
    @IBOutlet weak var userNameLabel: UILabel!
    @IBOutlet weak var connectButton: UIButton!
    
    override func awakeFromNib() {
        super.awakeFromNib()

        userImage = cellUser.images.valueForKey("profilePic") as! TGImage
        self.userImageView.downloadedFrom(link: userImage.url, contentMode: .ScaleAspectFill)
        
        if self.connectRightButton != nil {
            if cellUser.isFriend {
                friendUserCustomizeButton()
                self.connectRightButton.selected = true
            } else {
                unfriendUserCustomizeButton()
                self.connectRightButton.selected = false
            }
        }
        
        if self.connectLeftButton != nil {
            if cellUser.isFollowed {
                followingUserCustomizeButton()
                self.connectLeftButton.selected = true
            } else {
                unfollowingUserCustomizeButton()
                self.connectLeftButton.selected = false
                
            }
        }
        
    }
    
    @IBAction func connectRightPressed(sender: UIButton) {
        if sender.selected {
            
            Tapglue.unfriendUser(cellUser, withCompletionBlock: { (success: Bool,error: NSError!) -> Void in
