Fix "Instant Preview" checkbox work correctly on initialization
This patch also makes the resources setting more straightforward, in the same way other properties work.