Added contrast detect calibration task