When I run the app, and do the following (last step):
Press F5 to build and run the app. Navigate to the photo page, and click the "Get photo" button to launch the
FileOpenPicker and pick a file. Now, when the app is suspended, terminated, and restored, the image is re-loaded.
...I don't get the expected results. For example, navigating back to the MainPage, then back to the PhotoPage reveals that the image has not been saved.
I set a breakpoint and found that SaveState seems to be properly saving mruToken, but LoadState is unable to get past the first if statement:
if (pageState != null && pageState.ContainsKey("mruToken"))