checking for available internet connections and added preference too choose of mobile connections should be used for database updates