Removed PHP notice: undefined index
Added datepicker input