[Bug]: Fixed \insertQR and \nextpg

If using \insertQR, do not embed the QR code using \nextpg and \baseQR
because if \nextpg is called before \insertQR, then \nextpg will
insert the old QR code
Merge pull request #535 from abhinavc/master

[Bug]: Fixed \insertQR and \nextpg