Add restart button

Implemented in chrome
Added todo for firefox
Can you remove promiseId from here?  promiseId is only needed when you need to add fulfill/reject callback to be invoked when the core is finished processing the send command.