fix display text assumption bug and format display to hide zeros
on/off buttons working