tell me If I'm wrong here, but shouldn't this function move to Settings after all? Now that we take the id as parameter, there is nothing directly related to ThreadUI.