Fixes enable/disable timepicker

Due to the fact that each datetimepicker instance has its own settings these have to be updated accordingly on enable or disable.