Add function to create IP from gui, check for changes when toggling address type