final fix of notes menu

This is fix of  PR #5205
In this PR was stupid mistake(use '/' rather '%'). Now it's fixed.