finish relating datepicker with brush