implemented methods to store and retrieve history from shared prefs. Still need to make the history activity to work. Fixed a bug where default language was not properly set to its default value if the user never started the settings activity.