Thanks i will try the code out to close the program. And thanks Erel for the info on added pictures, i figured out how to change between layouts as well. Do you know how i can, by pressing a button open another application installed on my phone, specifically when the button is pressed Google Maps opens up?