Ungroup layer functionallity