Going to the native settings and back

Hi. I am using OpenNativeSettings (@ionic-native/open-native-settings/ngx) to navigate to the native settings. When the user is done reviewing the settings, and pres back, s/he is navigated to the front page.

How do I return to the page that navigated to settings? And how could I keep the data that was potentially inputted in the form of the page?