Bug fix: pick duration independently from octave

When reusing the duration of a previous note,
the duration of the octave picked was selected
instead of the selected note for the duration.