add remote notification callback handler,simplify flow process