Undo history

- Create State
- Undo button is working