Update UI.c

Made sure that delete actually deleted characters, fixed a stupid copy/paste error that led to no data being input into the subnet variable and the destination variable.