Fixed problem with status not setting correctly

Hide all action-data sections and then only set status if element is
visible