UI for internet and location completed with sharedprefs