Fix bug which add a second identity photo when we want to change it.