Added close datepicker on date choose

after choosing date datepicker closes