Refactored the way the InMobileAppMode works, using Session instead to store the source.
Also added in all the logic needed to display the back button at the top and the confirm page back button in the content.