Fix bug in activity and entity detail view for icons and colors