Label modifications are not reflected in existing notes and in the issue list

When a label is modified (by changing its name/color) existing notes and issues still show the old version of the label. This is probably a caching issue. The cache used for notes and the issue list would have to be cleared/updated in this case.

caching-label-bug

Steps to reproduce

  1. Create a new issue
  2. Add a label (do this separately to create a note)
  3. Go to the labels page and modify the name or color of the label
  4. Go to the the issue list (the label has not changed)
  5. Go back to the issue (the label in comment section has not changed)