Get PDF button is not working