removed unnecessary code

Removed more button code and deleted the function that prints the IP adress (I think this was causing an assortment of strange symbols to be printed)