fix switch color update logic bug
2 files changed