add restart button ,got a litter problem with sync restart