Added restart event, so that page refreshes after server restarts