Additional check to #80

I implement new  feature in wxample project to change animation style directly from app. And found a little bug. this request will fix it.