The App Crashes On Clicking Settings and Rotating The Screen