fixed sum update in main fragment
created graph view