android, keep the download permissions even if download is disabled
I removed it because it makes the application crash on exit (tested on Andoid 6).