refactor LED modes