Added date picker functionality