You need to overwrite the MapUri method of your UriMapper.
The documentation states:
When the app is launched, it assigns the URI mapper during initialization. Before launching any pages, the app calls the MapUri method of the URI mapper to determine which page to launch. The URI that the URI mapper returns is the page that the app launches.
Or you use one of these proposed solutions:
Last one seems most fitting.