todo-list update
set the play_flag as a flag to mark, whether true or false state
deleted toggleLoop function to avoid merge conflicts
resolve merge conflicts
clear button is deactivated now while loop is playing
loop is restartable now after clear button is pressed