changed statistic links to buttons
removed obsolete code
changed statistic: added comparing to graphs
added statistis changes
added hex color function