Added guard for setting up notifications for todos. An empty array of Todos shouldn't make any notifications