Refactor the codebase to rename all instances of item to activity for improved clarity and consistency.