Back Button after Add to Home - Add to Home startup detection

I’ve noticed that when running my app as a web app, with enable browser buttons on, that the back button is a bit different than when running the app from the home screen icon, after an add to home screen has been performed.

I’m assuming this is not really a problem, but rather that I need to detect which mode the app was started from so I can handle the back button appropriately for both cases. Is there a flag for start from home screen icon built into AppStudio?

I haven’t tried it myself, but this may help…