refactored app.js and added restart button