Custom duration and hide after touch

Hi,

I've added a duration property to notification to set custom duration.
Second change is that it hide the notification after a touch if notification has no action.