Please restore this to the `if/else` form and add the `actionHandled = true;` assignments to the block appropriate if statement blocks