add sketch states switch
Merge branch 'pr/13'