Added restart button functionality