Fixing datetime picker