dynamically set bar

bar will change between kg and lb when settings are switched