interface_server: add button function