update active state when changing props
Merge pull request #54 from litek/master

Update active state when changing props