implemented notifications as central function in the main qml file, fixed logic bug on task edit