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

                                                               message: L("common_check_internet_connection_dialog"),
                                                               rightButtonTitle: L("downloader_retry"),
                                                               leftButtonTitle: L("cancel")) {
                                                                self.performAfterValidation(action: action)
      }
    }
  }

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