moved clear interval one line above to prevent no longer required thread and added code to retrive the respective to do text content