Added timeout to notifications.
Corrected permissions