Checks for selected task before starting the timer.