date picker set up but not working