Rearrange code to separate the DataSourceDisplay update from unrelated clock setting code.