Add option to allow long-pressing the back button to kill the foreground app [Frameworks part]