added coloring of courses and toggle switch