Fix onNewIntent

- save reference to onNewIntent callback
- call the reference
- can now be used in conjunction with other calls