added ability to customize notification timeout