The role of competence-related attentional bias and resilience in restoring thwarted feelings of competence