ensure that reference to activity is not kept statically; it leaks resources