Move PDF generation down to submit_application step