adding the date picker to the header