Fix for the scan code button.