Added 'Export as PDF' function in tables