Remove onPause.