better checkbox handling in plugin options