Fixed bug where switch from data to wifi didn't auto cache