DeleteNote method fixed