I am trying to repurpose code to create a custom progress bar - but I am unable to understand how to make the final change.

The current implementation does the progress bar. What I would like is for the progress bar to update the text and then disappear on its own.

```
var win = Ti.UI.createWindow({
    backgroundColor: 'white',
});

var label1 = Ti.UI.createLabel({
  text: 'Working on it...',
  textAlign:'center',
});

var track = Ti.UI.createView({
    width: "60%", height: "20%",
    borderRadius:40, 
    backgroundColor: 'red'
});
var progress = Ti.UI.createView({
    borderRadius:40, 
    left: 0,
    width: 5, height: "100%",
    backgroundColor : "green"

});
track.add(progress);
track.add(label1);
win.add(track);

win.addEventListener('open', function () {
    progress.animate({
        width: "100%",
        duration: 1000
    });
});

win.open();

```

So when the final green progress is complete - I would like to 

a. replace the "working on it" with "complete"  

b. after 1000 ms - make the entire progress bar disappear.