Final fix for scan code button.