Changed color of the type label and fixed an issue where things would break when the internet connection was not working.