add app callback

add app callback