fix ref
update label
signal slot connecting to make add layers work