what happens after arizona gets custody of sophia