Undo function in Aligment panel