implemented the Deal button's functionality and the en-/disabling of the 2-/3-mode control