fixed regression in "download selected" button handler