1. Main module, expand the template region and add in Activity_Resume:
B4X:
B4XPages.MainPage.ActivityResume
2. Add to B4XMainPage:
B4X:
Public Sub ActivityResume
Dim in As Intent = B4XPages.GetNativeParent(Me).GetStartingIntent
If in.IsInitialized And in <> LastIntent Then
LastIntent = in
If in.HasExtra("Notification_Tag") Then
Dim tag As String = in.GetExtra("Notification_Tag")
B4XPages.ShowPage(tag)
End If
End If
End Sub