Removed duplication and adjusted selected matching tag color