bugfix, don't crash if it's not connectect to internet
added connection detector.
checking internet status
aadded ConnectionDector.java
Merge pull request #3 from pumalove/new_grid_design

Added connection detector.