test if notifyElem exists if not creates it
code style fix
Merge pull request #85 from hugomrdias/feature/notify

test if notifyElem exists if not creates it