Fixed wrong syntax for new event handler attaching
Merge pull request #241 from aki-russia/patch-1

Fixed wrong syntax for new event handler attaching