replaced button_event for IOs with callback function from amx-controlports-library