codeFreeze befor SurfaceView change