added API to associate accelerators with actions