This is already done in onPause.