implement saved instance state on rotation

if you rotate the device during playback it no longer crashes.