Added dark theme checkbox listener