set auto-cancel to notification