Added function to the downloadbutton in template-start.xhtml