`handleAction`