Refactor blinking initialization