Add restart dialog and update libraries