Implemented the label edit process.