Added duration property
hide notification after touch if no selector has been set