Fixed crash when `downloads` in the settings was an empty array
Merge pull request #88 from luto/fix-downloadname-crash

Fixed crash when `downloads` in the settings was an empty array