Update app.js

should delete statusIcon when window close