Fixed download button not being enabled; passing reference to list items via int, and redirects