Base: Fix bug navigating back on Android and WinPhone

Also fixes the issue with hardware button on BlackBerry