added app state save under rotation etc.