   
   func uploadAndGetDirectLink() {
     Statistics.logEvent(kStatSharingOptionsClick, withParameters: [kStatItem : kStatPrivate])
-    performAfterValidation { [weak self] in
+    performAfterValidation(anchor: getDirectLinkCell) { [weak self] in
       guard let s = self, s.categoryId != MWMFrameworkHelper.invalidCategoryId() else {
         assert(false, "categoryId must be valid")
         return

  
  func startUploadAndPublishFlow() {
    Statistics.logEvent(kStatSharingOptionsClick, withParameters: [kStatItem : kStatPublic])
    performAfterValidation { [weak self] in
      if let self = self {
        self.performSegue(withIdentifier: self.kPropertiesSegueIdentifier, sender: self)
      }

    }
  }
  
  func performAfterValidation(anchor: UIView, action: @escaping MWMVoidBlock) {
    if MWMFrameworkHelper.isNetworkConnected() {
      signup(anchor: anchor, onComplete: { success in
        if success {
          action()
        } else {
