Fixed "Save to PDF" button

The button is now passing the R output DIV to the converter and not just
the cohort DIV.