Implemented undo and font selection