added exception handling inside the AppPage class for the OnNavigatedTo method in hope of detecting issues that seem to occur on user's devices