invert smartcover state, 1 is open, 0 is closed

Change-Id: I4129ee717df29f7db8aa49a1f66cfe88b1c4c0a4