Maintaining apps state during inactivity
I listen to a lot of audio books and thus like to keep VLC and My Files constantly running and in a consistent state. What tends to happen however is that they seem to lose their state (playlist in VLC, working directory in My Files) if the app is inactive for a few minutes. This is a change from the previous Android version in which they would maintain their state for a whole day if not longer. I'm wondering what I can do to configure the apps, either individually or in the Android settings, in such a way that they do not lose their state as long as the device is running and not out of memory.
Samsung Galaxy J7 (2016)
Android: 7.0 (Nougat)
Read responses in winsource.com