work on selection (in QML version too)

if there is one, otherwise on the entire score