Fix completeIntent being called at the wrong place
Merge pull request #2 from roblabla/master

merge