Working with back button handling for Windows Phone.
Updated version.