Update layer for selected entities when a layer is selected.

When a layer is selected from the layers list, all the selected entities will update their layer to the selected. Would like to do the same for the pen type, color, and size if everything is ok.