Change how event is created

Fixes #4
Merge pull request #5 from dockyard/bc-4-fix-toolbar-not-present

Change how event is created