undo last changes minus the led status