Add notification for key change event.

Fixes #1460