Listener for the download button.