added persistant data and trying to setup datepicker
updated with functioning datapicker