ui changed and ip address after button click