Function getTracksFromSelectionSet