add analytic events into mapmodel, add edit, remove buttons on toolbarwidget