Fixed state of download button if a download fails.