Plug is a handy method to handle incoming button events. To create a plug
you have to implement a method that reacts on the events. To plug a method you
need to give a device the method name, the event type you want to react on and
the button. If your method is inside a class you have to give the plug
a reference to it.