app: use the name instead of the whole app as paramter to notify

Fixes the race detector build.