added new option type: button, which has a callback function so that "actions" in the RES console can be created.