You teach it the same way as you would do for any other command names (Device > More Options > Learn infrared commands). In the "MyNewCommand" box, you simply type a single character for the command name. Don't forget to teach these commands to the "Tuner" device used in that activity. The Media Favorite Channel buttons send commands only to the tuner device.