clarify action button enable/disable logic

- use similar variable names and use conventions consistent
  with previous commit of adding the delete button to certain tests