Tweaks to buttonFormatter to accept 0