setRestartSettings function

Set Restart Settings