fixed refresh time
added the possibility to set layer names in layer selector