Well, using the the plugin interface from 'ah-', you can start the shell script, and in QT you make a button to another shell script to start nickel again.
Shell script to start nickel again:
http://pastebin.com/gEuQpaU5
Code:
void App::on_pushButton_2_clicked()
{
QMessageBox msgBox;
msgBox.setText("Wait for nickel");
msgBox.exec();
QProcess *proc = new QProcess();
proc->start("/home/admin/nickel_start.sh", QStringList());
QApplication::quit();
}
The only thing is, the wifi doesn't work when you restart nickel, only after a reboot everything is back to normal.