Fix 'Add to Index', 'Remove From Index' and 'Show History' actions state