fixed total_amount bug in control view

Signed-off-by: Mario Ray <sigma5@sigma5-desktop.(none)>