Modified DatabaseHelper with async tasks for saving and retrieving notes