Added segment control and have ui reseting when deal button is pushed.