move apps wrapper to listen callback function, for consistency when passing to user callback.