App working with repeated tasks and threads