Added beforeFillDay handler