                 // share button
 
                 if customNavigationItem.leftBarButtonItem == nil {
-                    let shareButton = UIBarButtonItem(barButtonSystemItem: .Action, target: self, action: "shareProfile")
+                    let shareButton = UIBarButtonItem(barButtonSystemItem: .Action, target: self, action: "tryShareProfile")
                     customNavigationItem.leftBarButtonItem = shareButton
                 }
             }


    // MARK: Actions

    func shareProfile() {
        if let
            myUserID = YepUserDefaults.userID.value,
            me = userWithUserID(myUserID, inRealm: Realm()) {

                let username = me.username

                if username.isEmpty {


                                            me.username = newUsername
                                        }
                                }

                                doShareProfile()
                            }
                        })

