repair navbar and date time picker