Check if internet is working before refresh

Signed-off-by: Umair Khan <omerjerk@gmail.com>
Update news automatically if data.json doesn't exist

Signed-off-by: Umair Khan <omerjerk@gmail.com>
Check if internet is available during AutoRefresh

Signed-off-by: Umair Khan <omerjerk@gmail.com>