occurence turns green when 'view' button is pressed