Added type argument to updateDiagram signal

Added type argument (QString). If type == "task" then, a task has been
renamed, if type == "group", a data group has been renamed.

Signed-off-by: Andrei Preda <andreipreda07@gmail.com>