Fixed Bug with color default,And Undo with 0 images