fix: update service kind selector on change
Created by: ijsnow
Fixes https://github.com/sourcegraph/sourcegraph/issues/1482.
This PR contains a change to not import eventLogger
directly and take it as a prop. This is to make it more testable. See this PR for more info.