handling steps lists and action buttons in step 2