Exit Button Try!

Trying with navigator.device.exitApp();