Using appId instead of workspace for storing preferences. Using rally1 instead of sandbox as the sandbox was getting problems (javascript errors)