mine has had the sensor reprogramed 3x (no its not an overnight thing, very quick)
but it hasnt done anything.
i haev a diff dealer looking into it but of course it never reproduces the issue when its there.
apparently sometimes the window regulators go bad, or the wiring in the door jam get a short.
it hasnt been too much of an issue besides the one time i realized my window went back down after i parked the car the second day i had it in the middle of NYC