The contract extension with Sonic is a win for market leader CDK, which faced challenges over the summer after two cyberattacks.