'completed' now removes the correct pin in Angular