changed visibility of mCurrentState to protected