fixed badge choice page

This wasn't working before so I changed it to happen on click.