changed Create chart/Download link logic to allow more than one download without reset