dbhandler: edit notification created. some polymorphism added.