change reactionkey function