Kill foreground app using back button long-press [Framework part]