Add success callback with json response to show method

After the PreferencesActivity intent closes, executes a success
callback with a json object with all the preferences as response.