Introduced a custom widget to wrap the button and date picker.