restart for gui