GPIO only instantiated when checkbox clicked.