Maintain tab state over orientation changes
* Refactor tab creation