Activity icon gets className set, instead of directly setting the
style.display property.

Change-Id: I760d119ec23a8ed72c4e1b988d0466a53970d09c