Solved Freeze in onPause()