Add facility to set datepicker date by modifying state cell