Sorry, i had mispelled a word that is why it wasn't working, thank you so much for your help, i have another question though maybe you can help me with this as well, i'm building an app which has about 4 or 5 screens, main screen, screen2, screen3 etc. when i click on a button on the main screen it will take me to the screen specified in the button_click code, but if i change orientation let's say from portrait to lanscape, it will take me back to the main screen, what can i do so that i remain in the screen i was taken to when pushed on the button, hope this makes sense, thanks again for all your help :sign0188: