It relates to issue karlitrotski/CodingSpectator/#4.
Added listener for error icon appearing and disappearing.
Programmed by @joffreyc85