Removed static properties and detection of a theme from app resources.