How to remove kickstand safety to replace?

I ride a 2013 Honda cbr 250r and recently I started teaching my sister to ride, so she can buy it when I upgrade. And she dropped it and broke the kickstand kill switch. So I can't put it into gear without it dying. I've taken it apart and couldn't see how to remove it, do I have to replace the entire cable? If so, how would I get it off? A guide would be wonderful.

Just guessing here but it's not likely the kick-stand down switch would go in a minor drop.

Could the 'clutch-kill switch' be the problem instead?