Added functionality for saving start/end label positions.