apply rating first, then click handler