Fixed the time not refreshing.