Refactoring not working (beta 7)

The refactoring options are not working for me (up to and including beta 7).
I can highlight code and either choose the refactor option from the menu or from the light bulb which appears. I either get the option to Extract to function or Extract subexpression to variable but when I click on these options nothing happens.

Refactoring would be a great help when teaching my students.