fix the error on pdf generation: added code/script to check if category & title dropdown has already a selected value as well as check if atleast 1 word is selected from the wordlist, if requirement is not met by the user, wont generate pdf.