Fixed bug in StoreStateController. Added at line 64 two lines for restoring unprotected words and protected words.