Adding new note should now not depend on global variables holding model and views