After I added the shape and modified the ID,the undo and redo functions ...

After I added the shape and modified the ID,the undo and redo functions ...