timestamp when button pressed or QR code scanned