Change checkbox to switch widget and  mod command execution