desktop notifications

Added desktop notifications on download completion and interruption.
fixed wrong download state check for notifications
reduced search for notifications
Merge pull request #2 from An-dz/master

Desktop notifications