After compiling data and clicking on the download button