Use explicit dependency injection syntax

In both cases where the `hotkeys` service is injected, use the explicit
dependency declaration syntax instead of relying on the parameter names.

This makes the library compatible with variable manglers.