Android app built with BDK freezes after minimizing and returning

Hi there.
I’ve encountered an extremely annoying problem on some android devices, when I try to, for example, update a profile photo through the camera, after the photo is taken and after returning to the app, this app freezes, and I see the empty screen (in general this is a common problem on all android devices as they are not optimized properly in terms of RAM management).
In order to temporarily fix this issue for android devices I was trying to use the “BN-SelectPhoto” element integrating in the basic BDK native plugin, and it also doesn’t work properly sometimes, e.g. after choosing the file and returning to the app just nothing happens, because the corresponding trigger only fires once in a while.
Too bad you can’t change the ‘capture’ attribute of the built-in “PictureUploader” element so that photos can only be uploaded from the file system and nowhere else.
I would welcome any ideas on how to get around this limitation or prevent/minimize the likelihood of ANR on any android devices.