Orientation change bug fix in Settings Activity