added functionality for both DetailedNote and MainActivity to call AddNote. Next step is to add update record functionality