When we choose a notes category ex. Y we are able to find notes from category X.
The search rules shoud be the same as in the Tasks module. (finding notes only from the chosen category)
There should be category 'All notes' like in Contacts module so that we can search in all categories. The same solution could be used as well for Tasks and Notes.