Added function to delete notes. Improved the note creation function. Now new notes are automatically shown