reapply style when changing styleClass