Take out the methods of DatePicker and Segmented Control. We use their property instead. It is more stable.