updated Phone sample to work with rotation and added back button behavior