Card selection and PDF export working