added device class
updated to support iphone5 wide screen
turn tool button 2 into show result button after game ends