Also if you are super excited, check this post as well, so you can directly control it by using your Quick Settings:
But in your case, if you followed this tutorial, you have made already the most things, so then you need only create your toggle tasks ![]()