I'd create a new function in ThreadUI (`ThreadUI.onContactCreateSuccess` for example). We don't need to create a new function each time.