Add getting/setting notes from/to db