Prevents multiple display of the same QR if button is pressed multiple times