Handling back navigation on Windows Phone.