Fix IDEUI-346 Time active still running after stop

Fix for IDEX-1443 introduce this bug. Now, when no runner is launched
(isAnyAppLaunched), the counter gives the latest time active value.
Merge pull request #286 from stephanedaviet/IDEUI-346

Fix IDEUI-346 Time active still running after stop