issue #40: fixed marking bug when component re-rendered
Merge pull request #41 from adaptlearning/issue/#40

issue #40: fixed marking bug when component re-rendered