Modify ADBMobile plugin to call lifecycle methods