Disabling predict button if offline