title: Android Cordova backbutton event Not triggering
body: <p>I'm using "<strong>backbutton</strong>" event of <strong>Cordova (version 6.3.2)</strong> in my Android app. But when the back button is clicked, the app closes instead of triggering the backbutton event. There are many similar questions but I had to ask again as nothing helped me. </p>
  
  <p><strong>My Init Script :</strong> </p>
  
  <pre><code>  var cordovaInit = function (){
  
      //To bootstrap the app manually once the device is ready
      var receivedEvent = function (){
          angular.bootstrap($('body'), ['myModule']);
      };
  
  
      var onDeviceReady = function (){            
        console.log("Device Ready");
        receivedEvent('deviceReady');
        document.addEventListener("backbutton", function(e){
                 // My Code here
        });
      };
  
      //call onDeviceReady when the device is ready
      this.bindEvents = function (){
          document.addEventListener('deviceReady', onDeviceReady, false);
      };
  
      //If cordova is present, wait for it to initialize, otherwise just try to
      //bootstrap the application.
  
      if(window.cordova !== undefined){
          this.bindEvents();
      }
      else{
          receivedEvent();
      }
    };
  
     $(function (){
       new cordovaInit();
     });
  </code></pre>
  
  <p>As you can see above that I'm registering the event after the <strong>deviceReady</strong> event and the deviceReady event is working fine. 
  Any help is very much appreciated. 
  Thanks in advance.</p>