refactor to action button with rpc events
refactor to action button with rpc events