Correct chaining issue

When a new operator key is pressed the previously stored value,
operator and current value should be evaluated. Afterwards the new
operator becomes stored.