Wordpress - Custom Widget function in Plugin not working?
try replacing :
register_widget('States_Widget');
with:
add_action('widgets_init', 'register_states_widget');
function register_states_widget() {
register_widget('States_Widget');
}