set component state before calling storeDidChange
Merge pull request #44 from deloreanjs/storeDidChange-fix

set component state before calling storeDidChange