Added undo for changing input values
Fixed adding undo entry when dragging blocks from palette to palette