add Sketch states swtich
Merge pull request #51 from wentin/master

add Sketch states switch. Closes #50