Scene 5 OK and fix class "WorkingMemory" close bug

Bug:
when invoke function "clearExceptMagicCubeData", do not set
residualActions as nil.