Implement the undo feature. Refactor String constants in Storage.java.