Fixed LED bug in programming mode