Fix race condition in ClockViewmode.synchonize.

Setting values in the view model would cause other values in the clock to change.  Since we want to synchonize the viewModel with all clock settings, we need to copy the current clock settings to temporary variables, and then set from there.