improve stopwatch by creating set Time method