Updated to allow repeated calls to onNewIntent callback