BROW-784  moved invoke after db complete.

need to wait until the db finishes populating TODOs before we try and add more via invoke.