It is hard to distinguish the difference between mPaused and mPausedFlag. Could you please use more meaningful names?