updated weighing scale functionality

updated the following files
-WeighingScaleController.groovy
-main.gsp
-sampleViews/weighingScale.gsp
-weighingScale/_form.gsp
-WeighingScaleDetails.groovy