PLD: refactor setting a project starred state