updated context: getConfig/setConfig deprecated. Now use getContext/setContext