Add undo support for cursor properties
enable undo for setting the image reps