Android app always restarting

I am using the latest version of AppStudio 8.5.4.0…
I created an Android app and installed it on my Kindle Fire 7.
I start it and it works fine. I don’t close it. I am supposed to use it all day. It collects data in a SQLite database.
I open up another app on the Kindle, just a Kindle book.
When I return to my AppStudio app it restarts. All the data is gone.
Can anyone explain this behavior?
Thanks.

Yes, it does sound like normal behavior. If you want to resume from where the user left, you’ll have to add some state control (perhaps using localStorage) so the app can check this upon start and put the user back at where he/she left.