added gui to set static ip

moved gui out to set static ip function