fix: refresh resource picker when class restriction changes (#73)