fixed a bug so that if a different picture is uploaded after the first one, the form gets updated with the color information about the new photo