Add ability to toggle datetimepicker