Minor bug fix

* Fix bug when there are no metrics defined in db, insert default metric with position = 0
* Add percentage change per day and change text color to red when regression is more than 'magic number' --> 10%