Occurrence of a White-Light Flare Over a Sunspot and the Associated Change of Magnetic Flux