Finalized App

Added the orientation state change saving.