made minor change to controller so that it selects ALL tasks instead of only the ones that are not complete