refactoring changed selector of qrcode to class not id - better!