Use application context instead of the activity of the proxy to prevent memory leaks