added color to toggle and legend