added GetValue method for ScaleButton