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.
Fixed exception thrown by onTimeChange

After disabling a timepicker an exception is thrown, if you close the now timepicker-less datepicker.
Merge pull request #623 from althaus/patch-1

Fixes enable/disable timepicker