update RestoreIPAddress.java class