A Theory of Decision Making Under Dynamic Context