Notifications fix

Fixes #224 
Maybe define the x second (here, 2) threshold above as static final?