Setting dice layout on orientation changed.
Assigning a DOM id to the buttons div.