Fixed the note add/delete