The short-period eclipsing system XY UMa - 1982 UBV light curves and a flare-like event