your new handleActivity does not take activity as parameter
(which I think should be added back, btw)