Updated offline and online mode
+ Changed MainActivity to use offline mode when no connection
+ OnResume the app downloads information.