   func session(_ session: WCSession, activationDidCompleteWith activationState: WCSessionActivationState, error: Swift.Error?) {
     if let error = error {
       AppLog.error("Watch session activation failed: \(error)")
+    } else {
+      self.setupApplicationContextBinding()
     }
   }
 

          AppLog.error("Failed to update watch application context: \(error)")
        }
      })
      .addDisposableTo(self.disposeBag)
  }

}

          result[SharedConstants.ApplicationContextKeys.accountApiKey.rawValue] = account.apikey
        }
        return result
    }

    let watchSessionState = WCSession.default().rx.observe(WCSessionActivationState.self, "activationState")
      .distinctUntilChanged { $0 == $1 }
      .filter { $0 == .activated }

    self.applicationContextDisposable = Observable
      .combineLatest(applicationContext, watchSessionState) { applicationContext, _ in
        return applicationContext
      }
