Opportunities Knocking: Residual Income Valuation of an Adaptive Firm