fixed immediate weighing and config dialog style problem
build