Automatically restart the background service when adding/removing custom hosts
When adding/removing custom (non-file) hosts the changes are reflected instantly in the database.
The hosts might still be cached and thus the service should be restarted on changes.