Take advantage from what was done in #44 (closed) to achieve the same for the CSV and PDF exportion buttons.