Added the event to its block to maintain the connection between them.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #78 from ddobrev/master

Added the event to its block to maintain the connection between them