Fix nil value error.

The 'cyclefocus' variable was referred to at definition time. This
caused the variable to be always nil. Defining the variable before
assigning fixes this.

Fixes #3