Added remove listener from scanner helper.
Use the new remove in scanner panel when leaving view.