Replaces try-catch with if statement when selecting a requirement in the stats panel