Added settings view and theme switchting in the settings.