Shared Preferences

Added user Location and Units Shared Preferences. Also, fixed to bugs (refresh on dialog close and HTTP / JSON failures)