added a timer that starts ticking whenever a

Context switch occures. When the timer expires it launches a callback
that issues the notification to the user.
This way we can prevent spamming the user with notifications when he’s
quickly switching to finder for opening a file or quickly googling
something.