Created possible alternatives for OnNavigatedTo and SelectionChanged but they don't currently work.