Remove deprecated calls to "button_to_function"
Run in Rails 4
update version