Fix deprecation warning for f.buttons. Use f.actions instead.