Fix flicker while entering programming mode
When entering the programming mode (tapping 10+ times) the light flashes on low intensity each time you press the power switch.
This is maybe caused by missing initialization of the output in the early event handling.