customize button for acta show on index depending on status ann user