Bug Fix: noteActivity

fixed bugs regarding having a null after each note edit.
And unintentional repeat of comments