hook_entity_presave() doesn't work
Your function should be named according to your module's name. If your module is called "foo", then:

function foo_node_presave(Drupal\Core\Entity\EntityInterface $node) {


Note also the use of backslashes, not spaces, to separate namespaces.