changed notification timer so that it just runs when there is at least one notification in queue