Fix datepicker not closing in home view filter