Save current index during screen rotation