added onPause docs
added onPause docs