Fixed onPause Crash