Refactoring click handler creation for prizes