Added optional implementation to sync always if device has wifi connection