I am having the same issue. Samsung Galaxy S9+ running Android 10. Update: turned off battery optimization and also moved entire app to SD card; neither one helped. The instant I back out of the app (not even "closing" it necessarily) the media library is forgotten. This is only prevented ...