Fix undefined index PHP notices

- fixes php notices when interacting with widget's checkboxes