Change the target SDK to API 10.
Issue #16: prevent activity restart fixes this problem.