Updated the settings preference activity to include the dialog and
handle settings being saved.