Resyled all views.
Added method to calculate the total amount of a given item which has been used.