HID: Only works after upload

Do you have a pull-down resistor on your button?