Closing loopholes for cheaters

In Chapter 4 it was explained that the value of a variable may be retrieved (after rotating the device) by adding the savedStateHandle.

So my question is why the following doesn’t work to store and retrieve the value of “isCheater” when rotating the device:

var isCheater: Boolean
    get()=savedStateHandle.get(IS_CHEATER_KEY) ?:false
    set(value)=savedStateHandle.set(IS_CHEATER_KEY,value)