Return to same page when app is back into foreground

The main page of my app is subscribed to receiving push notifications. When the app is in the foreground, the notification data is displayed on the page(when notification comes in).

When the app is in the background I want that when the user clicks the notification, the page with the push notification information is loaded.

If the page is in the background, is it still subscribed to receiving notifications and thus still receives notifications? Or clicking the notification in the notification tray just load a new page, re-subscribes and has missed the previous notification information?

How can I achieve this? Thank you in advance.