added basic star click functionality