title: Activity was restored twice when the orientation changes
body: <p>I am having some problems with an activity of my Android aplication.</p>
  
  <p>I have discovered that my app enters twice in 'onCreateView()' method of this activity when orientation changes, and it is causing me problems. When I click the corresponding button and this activity starts is all ok, but whithin this activity when the orientation changes I have some problems because enters twice, i.e. activity restarts twice ... </p>
  
  <p>... Does anyone know the behaviour of an activity when orientation changes? Why does this happen?</p>
  
  <p>Thanks so much.</p>