Update app.js

when window close, should delete statusicon