Divided setting of text and of finished flag into 2 different methods