private void changeLabels(int PTime, int PDist) {
		// Stores the best distance
		if (PDist <= LabelDist1) {
			LabelTime1 = PTime;
			LabelDist1 = PDist;
		// Stores the best time
		} else if (PTime <= LabelTime2) {
			LabelTime2 = PTime;
			LabelDist2 = PDist;
		// Replaces the third label
		} else {
			LabelTime3 = PTime;
			LabelDist3 = PDist;
		}
	}