fix bug in example defining a custom command

Example code in readme used two different names for the class defining
the example code, resulting in an error when attempting to load the new
command.

This fix just updates the code to use the same name consistently, so
that the example works.