Closing applet when switching tab
Moved even't handler binding to render method in scan page  view