Altered datepicker and added progress bar