add undo to example app
Add example of app state synchronization