                                             me.username = newUsername
                                         }
                                 }
+
+                                doShareProfile()
                             }
                         })
 

                // share button

                if customNavigationItem.leftBarButtonItem == nil {
                    let shareButton = UIBarButtonItem(barButtonSystemItem: .Action, target: self, action: "shareProfile")
                    customNavigationItem.leftBarButtonItem = shareButton
                }
            }

                    })

                } else {
                    doShareProfile()
                }
        }
    }
