Generating options only inside valid interval
New note button, better than automatic advancement as it was