Connecting SettingsActivity to Database