You're going to have to be more explicit about what you mean by "change the value E but to be able to revert it later again". If you have code that you've tried, then try posting that code along with the errors you've received.