Fixed allAreDone button bug