Implemented autoupdating clock which also allows switching away from clock function