(gui) Allow setRefinement on instance already refined

Fixes issue introduced in fabe202bf3a53
Now setInstanceRefinement() can run even if Instance is already refined
on the same entity. To prevent refining 2 times or more on the same entity,
we now check the refinement value in the instance shape