added network change listner, db helper