Add an timeout function to the notifications

And more coding style: space after a comma