loadImage refactoring. Previous image was appearing for a split second in the photo container when a new image was selected.