Added error output when no internet connection available and revised view behavior in such circumstances