Set Current Layer to Selection's Layer

Set Current Layer To Selection's Layer changes the current layer to the layer that contains the currently selected objects.
Note: This button is not available if the current selection includes objects that reside on different layers.