Added BACK button support for emulator (issue #3064)