web sql store & device alert