bugfix for bell code detection
made the public button a toggle switch