Move add note and delete note processing in asynctasks