Final fix for the scan code button.