fix bug for toggling details even after shared already