Use custom application class and use Game object as singleton to retain game state on device rotation.

The game UI runtime changes, such as button visibilities, still reset on rotation though.
capitalize class name