Assign keys to actions