Why pass in window.navigator? It's global so you can just grab it from the global scope over in the ActivityHandler