Fix show index; should now depend on actionButton