Creating a check button with different initial states

In this recipe, we will add three check button widgets, each with a different initial state.