Clean up duplicate activity definition