Add key handler for key links and temporary key links