check task running + popup routine