Allowing multiple views to register to a key event