implementation of a spinner for note selection + minor changes