added persistant data and trying to setup datepicker