Fixing setting up states; State.onDisplayChange