Add a success callback on show method

After the PreferencesActivity intent closes, executes a success
callback with a json object with all the preferences as response.
Merge pull request #1 from vrunoa/f9f2c2c2253c29bf029392ed6577c30532242a87

Add success callback with json response to show method