China, Philippines agree to manage differences, stabilize situation