refactored intersections and Color toggle buttons