I sort of dislike a little bit how this is named foundNotification when n could be null, but I can't really think of a better name. Maybe onResult?