Added new command Label and add code for undo