Added toggling of pageAction icon.