fixed callback context
minor code prettyfication
added callback for menu item onClick
introduced DapetonClient