End datapicker implementation