Save location data in SharedPreferences

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