Changed text action from @{} to %{}.

This ensures the action is only run at the end, opposed to any non final state.