The effect of task difficulty on decision-making