fixed activity state storage
Merge pull request #197 from creighton/morechange

fixed activity state storage