On Key Selected

Called whenever a new key is selected by the user.