fixed null pointer in download activity
Merge pull request #893 from Bars107/downloads

fixed null pointer in download activity