Finished the process for UI call and callback to UI