Keep track of connectivity changes to set enable and disable the sync button accordingly