Fixed bug where number would flash to zero during save