Implementing datetime picker