deal/reset button implemented
added segment control