Changing some logic around so we check for writability in setState() while still preserving the ability to read from sessionStorage if we can find data there.