added enable and disable shares for share detail