Added initialisation of datePicker by value from main textField