Button A should perform function A, and button B should perform function B, but when button A is pressed, it performs function B.
Visit the unabridged version HERE