add change state example
small impro
Merge pull request #15 from lipp/master

new live example