Made it so that selecting a new color for bg or fg will automatically update image.
Fixed merge conflict