applies theme