Add `notificationMode` setting

The user can now set on out of four notificationModes

always - always show a notification
change - show a notification when the current result is different than the last
failOnly - show a notification if the result is `fail`
failChange - show a notification when the result is `fail` or first success after fail