Added buffering to colorSwitch to prevent power misassignment at color switching