Bug 1082625 - [Flame][Video] When camera is started by the video app, the mode

switch displays incorrectly
nit: same thing -- `window.removeEventListener()`