Added catch of IllegalStateException to avoid breakdown.
If celltowerdata throws NullPointerException all rooms are returned to the wifi testing. More to sort, but that is ok.
Added check to preferences to deside whether the app should post to the web or not.
Added a catch for NullPointerExceptions. Also did some cosmetic changes and some logging.