readme.md updated with onPause/onResume