I think there’s no undo button, so I was actually trying to rename the note then I accidentally deleted it. I just noticed there’s no undo. So I would suggest an undo if there’s a deletion happened. Also deletion is near the rename if a user accidentally click it there’s no confirmation to delete the file. I would also suggest to move it away from the rename and create a confirmation before the deletion in this way this would prevent an accidental delete.