The parameters to this match the requirements of the toggled() function exactly, so we can pass the function directly into the connect call.
The parameters to this match the requirements of the toggled() function exactly, so we can pass the function directly into the connect call.