Move color_sensor and light_sensor variables to above the task they are first used