toggle function
By Tomas Kovacek at Mar 26 2022
Toggle Checkbox function
By Sergio Dare at Mar 31 2022