change exmaple file state/app.js
save context before dispatch