Edge 1050 course line is yellow ... why?

Yesterday during a ride, the course-line color switched from purple to yellow and after a while back to purple.

Why is the course-line displayed in yellow?

Can I turn it off?