Change time label based on the change event