Date picker working perfectly