diff --git a/views_flag_refresh_plugin_display_extender.inc b/views_flag_refresh_plugin_display_extender.inc
index 2b5c8f6..bc705a8 100644
--- a/views_flag_refresh_plugin_display_extender.inc
+++ b/views_flag_refresh_plugin_display_extender.inc
@@ -15,7 +15,7 @@ class views_flag_refresh_plugin_display_extender extends views_plugin_display_ex
   /**
    * Provide a form to edit options for this plugin.
    */
-  function option_definition(&$options = array()) {
+  function options_definition_alter(&$options = array()) {
     $options['use_ajax_flags'] = array('default' => FALSE);
     $options['use_ajax_flags_noscrolltop'] = array('default' => 0);
     $options['use_ajax_flags_widget'] = array('default' => 'default');
