Refactor and add listener to all startdate fields