Corrected event listener.
fixes #1
Revert "Corrected event listener. fixes #1"

This reverts commit e5a814c1c75b4243f85f9b935bd8231b8e166078.
misstakes in plugin.yml and the event register args fixed.
Fixed #1 over looked misstakes in the plugin.yml