Added the delete Fucntionality to the notes