datetime picker configuration key switching