ticket:2. checks if Network is available; introducing States to control MainCtivity workflow;