Changed point where redrawThread starts and ends to onPause and on
Resume