Fixed bug where app would crash if no network connection. Only checks homepage at the moment