android app check network state on application start