Changed datePicker's initialisation mechanizm