fixing the Firefox export download issue

Firefox does not like if you do anything more than only execute the download after the click, so extending the button and using a clicklistener at the same time is not an option.