compareScreenStates