data: add active flag to cpu_usage_dist view
app_monitor: fix invalid app time on foreground app change