check for class on star click