[*] Fixed visualization for last interval
[*] Use local storage to save results
[*] Use local storage to save results