Fixed Orientation change

-Fixed senario when orientation is changed dynamically created content
disappears because the activity is redrawn