Change the key assignment.