change color when element has been changed