Notification was supposed to be cancelled once task is deleted or completed but it was not working.
I've used the Notification service to get the task id by calculating it again since it was not saved and used it to delete the task.
Note that when calculating the notificationId the task id, which is an input, is given as null.
Fixes #320
Screenshots
N/A
Checklist
[ ] Tests have been added or updated to cover the changes
[ ] Documentation has been updated to reflect the changes
[x] Code follows the established coding style guidelines
Description
Notification was supposed to be cancelled once task is deleted or completed but it was not working. I've used the Notification service to get the task id by calculating it again since it was not saved and used it to delete the task. Note that when calculating the notificationId the task id, which is an input, is given as null.
Fixes #320
Screenshots
N/A
Checklist