Used runAction: completion: to make resource removal happen after the player stopped moving and it now works. The refactor is complete and functional
/