Change so the activity target works

Its probably wrong but the activity target didn't work for me even from you example. Is there any implications in making this change in my code?
Merge pull request #58 from borntodesign/patch-1

Change so the activity target works