added feature to change the icon and show the text when can't connect to server, fixes