Android app to toggle the state of data connectivity based on time intervals