Added settings to sharedprefs