add undo and clean buttons by carlos madrazo