content_available and attributes_for_device setter fix