update: Beter handling of edit command

* Opens the note on a direct match (just one matched note)
* Fixes the case with no matching notes

Signed-off-by: mr.Shu <mr@shu.io>