Image in the model isn't replaced after loading a new image

Hello! Did you manage to solve the problem? If so, how?