Update Application.java

updated for total and clear items
Merge pull request #4 from jammug/patch-4

Update Application.java by Girish