recreates download link when user clicks save