Add restart button

Implemented in chrome
Added todo for firefox
what is the promiseId thing?