Added query selector to constructor
Put datepicker in the center