Fix errors on uptime bar : color & duration